package com.niiwoo.civet.user.service.duboo;

import com.alibaba.dubbo.config.annotation.Service;
import com.niiwoo.civet.user.dao.entity.MobileIdentity;
import com.niiwoo.civet.user.dto.response.MobileIdentityDTO;
import com.niiwoo.civet.user.service.MobileIdentityDubboService;
import com.niiwoo.civet.user.service.local.MobileIdentityService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * Created by dell on 2017/12/6.
 * Description：civet-parent
 */
@Service(version = "1.0.0")
public class MobileIdentityDubboServiceImpl implements MobileIdentityDubboService {

    @Autowired
    private MobileIdentityService mobileIdentityService;

    /**
     * 查询映射用户
     * @param mobileIdentity
     * @return
     */
    public MobileIdentityDTO queryMobileIdentity(String mobileIdentity){
        return mobileIdentityService.queryMobileIdentity(mobileIdentity);
    }

}
